{% extends 'teacher/left_content.html' %}

{% load staticfiles %}

{% block title %}
    学生基本信息
{% endblock title %}

{% block css %}
    <link href="{% static 'css/bootstrap.css' %}" type="text/css" media="screen" rel="stylesheet">
    <link rel="stylesheet" type="text/css" id="site-theme" href="{% static 'css/bootstrap-xadmin.css' %}">
    <link href="{% static 'css/font-awesome.css' %}" type="text/css" media="screen" rel="stylesheet">
    <link href="{% static 'css/xadmin.main.css' %}" type="text/css" media="screen" rel="stylesheet">
    <link href="{% static 'css/xadmin.plugins.css' %}" type="text/css" media="screen" rel="stylesheet">
    <link href="{% static 'css/xadmin.responsive.css' %}" type="text/css" media="screen" rel="stylesheet">
    <link href="{% static 'css/xadmin.page.dashboard.css' %}" type="text/css" media="screen" rel="stylesheet">
    <link href="{% static 'css/xadmin.form.css' %}" type="text/css" media="screen" rel="stylesheet"/>
{% endblock css %}

{% block right_content %}
    <div id="content-block" class="col-sm-11 col-md-10">
        <ul class="breadcrumb">
            <li>
                <a href="{% url 'teacher:teacher_index' %}">首页</a>
            </li>
            <li>
                <a href="{% url 'teacher:teacher_studentlist' %}">学生列表页</a>
            </li>
            <li>
                学生个人信息
            </li>

        </ul>


        <div class="navbar content-navbar navbar-default navbar-xs" data-toggle="breakpoint"
             data-class-xs="navbar content-navbar navbar-inverse navbar-xs"
             data-class-sm="navbar content-navbar navbar-default navbar-xs">
            <div class="navbar-header">
                <a class="navbar-brand" data-toggle="collapse" data-target="#top-nav .navbar-collapse">
                    {{ student.student_name }} 的个人信息
                </a>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                </ul>
                <div class="navbar-btn pull-right hide-xs">
                </div>
            </div>
        </div>

        <form class="exform" enctype="multipart/form-data" >
            <div class="form-container row clearfix">
                <div id="column-0"
                     class="formColumn column form-column full col col-sm-12 form-horizontal" span="12" horizontal>
                    <div class="panel panel-default fieldset unsort no_title" id="box-0">
                        <div class="panel-heading"><i class='icon fa fa-chevron-up chevron'></i>
                            <h3 class="panel-title"></h3></div>
                        <div class="panel-body ">
                            <div id="div_file_number" class="value form-group row">
                                <div class="control-label">档案号</div>
                                <div class="controls"><p class="form-control-static ">{{ student.file_number }}</p>
                                </div>
                            </div>
                            <div id="div_student_name" class="value form-group row">
                                <div class="control-label">姓名</div>
                                <div class="controls"><p class="form-control-static ">{{ student.student_name }}</p>
                                </div>
                            </div>
                            <div id="div_ID" class="value form-group row">
                                <div class="control-label">身份证号</div>
                                <div class="controls"><p class="form-control-static ">{{ student.ID }}</p></div>
                            </div>
                            <div id="div_gender" class="value form-group row">
                                <div class="control-label">性别</div>
                                <div class="controls"><p
                                        class="form-control-static ">{{ student.get_gender_display }}</p></div>
                            </div>
{#                            <div id="div_password" class="value form-group row">#}
{#                                <div class="control-label">密码</div>#}
{#                                <div class="controls"><p class="form-control-static ">{{ student.password }}</p></div>#}
{#                            </div>#}
                            <div id="div_phone" class="value form-group row">
                                <div class="control-label">电话</div>
                                <div class="controls"><p class="form-control-static ">{{ student.phone }}</p></div>
                            </div>
                            <div id="div_teacher" class="value form-group row">
                                <div class="control-label">班主任</div>
                                <div class="controls"><p class="form-control-static "><span
                                        class="text-muted">{{ student.teacher }}</span>
                                </p></div>
                            </div>
                            <div id="div_year_join" class="value form-group row">
                                <div class="control-label">入学年份</div>
                                <div class="controls"><p class="form-control-static ">{{ student.year_join }}</p></div>
                            </div>
                            <div id="div_grade" class="value form-group row">
                                <div class="control-label">年级</div>
                                <div class="controls"><p class="form-control-static ">{{ student.grade }}</p></div>
                            </div>
                            <div id="div_clas" class="value form-group row">
                                <div class="control-label">班级</div>
                                <div class="controls"><p class="form-control-static ">{{ student.clas }}</p></div>
                            </div>
                            <div id="div_art_science" class="value form-group row">
                                <div class="control-label">文理科</div>
                                <div class="controls"><p
                                        class="form-control-static ">{{ student.get_art_science_display }}</p></div>
                            </div>
                            <div id="div_nation" class="value form-group row">
                                <div class="control-label">民族</div>
                                <div class="controls"><p class="form-control-static ">{{ student.nation }}</p></div>
                            </div>
                            <div id="div_dormitory_number" class="value form-group row">
                                <div class="control-label">宿舍号</div>
                                <div class="controls"><p class="form-control-static ">{{ student.dormitory_number }}</p>
                                </div>
                            </div>
                            <div id="div_bed_number" class="value form-group row">
                                <div class="control-label">床号</div>
                                <div class="controls"><p class="form-control-static ">{{ student.bed_number }}</p></div>
                            </div>
                            <div id="div_address" class="value form-group row">
                                <div class="control-label">地址</div>
                                <div class="controls"><p class="form-control-static "><span
                                        class="text-muted">{{ student.address }}</span>
                                </p></div>
                            </div>
                            <div id="div_remark" class="value form-group row">
                                <div class="control-label">备注</div>
                                <div class="controls"><p class="form-control-static "><span
                                        class="text-muted">{{ student.remark }}</span>
                                </p></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


{#            <div class="form-actions well well-sm clearfix fixed">#}
{##}
{#                <button type="submit" class="default btn btn-primary hide-xs" onclick="">保存</button>#}
{#            </div>#}

        </form>

    </div>
{% endblock right_content %}

{% block js %}
<script type="text/javascript" src="{% static 'js/jquery.ui.core.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.ui.widget.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.ui.mouse.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.ui.sortable.js' %}"></script>
<script type="text/javascript" src="{% static 'js/bootstrap.js' %}"></script>
<script type="text/javascript" src="{% static 'js/xadmin.main.js' %}"></script>
<script type="text/javascript" src="{% static 'js/xadmin.responsive.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.ui.effect.js' %}"></script>
<script type="text/javascript" src="{% static 'js/xadmin.plugin.themes.js' %}"></script>
<script type="text/javascript" src="{% static 'js/xadmin.page.dashboard.js' %}"></script>
<script type="text/javascript" src="{% static 'js/xadmin.plugin.portal.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.ui.sortable.js' %}"></script>
<script type="text/javascript" src="{% static 'js/bootstrap.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.ui.effect.js' %}"></script>
{% endblock js %}